package com.example.frank.test2.domain;

/**
 * Created by Administrator on 2018/5/23.
 * 学生实体类
 */

public class Student {
   private String student_id;       //编号
   private String class_id;         //班级
   private String id;                //学号
   private String name;             //姓名
   private int  sex;                //性别
   private String birthday;         //生日

    public Student() {
    }

    public Student(String student_id, String class_id, String id, String name, int sex, String birthday) {
        this.student_id = student_id;
        this.class_id = class_id;
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.birthday = birthday;
    }

    public String getStudent_id() {
        return student_id;
    }

    public void setStudent_id(String student_id) {
        this.student_id = student_id;
    }

    public String getClass_id() {
        return class_id;
    }

    public void setClass_id(String class_id) {
        this.class_id = class_id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "Student{" +
                "student_id='" + student_id + '\'' +
                ", class_id='" + class_id + '\'' +
                ", id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", birthday='" + birthday + '\'' +
                '}';
    }
}
